<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>JavaScript</title>
</head>
<body>

<input type="button" value="红色" onclick="change('red')"/>
<input type="button" value="黄色" onclick="change('yellow')"/>
<input type="button" value="蓝色" onclick="change('blue')"/>




<script src="js/script.js"></script>

    <script type="text/javascript">
            function aa(){
                document.bgColor="Orange";
            }


    function change(c){
        document.bgColor=c;
    }
</script>

</body>
</html>